import request from "@/utils/request";

//进出记录页面
//查询进出记录列表
export function listAccess(data) {
  return request({
    url: "/access/query",
    method: "post",
    data: data, //post:data;get:params
  });
}
//导出进出记录
export function downloadAccess(data) {
  return request({
    url: "/access/download",
    method: "post",
    data: data,
  });
}

//接送记录页面
//查询接送记录列表
export function queryPickup(data) {
  return request({
    url: "/pickup/query",
    method: "post",
    data: data,
  });
}
//导出接送记录
export function downloadPickup(data) {
  return request({
    url: "/pickup/download",
    method: "post",
    data: data,
  });
}